#ifndef DOWNLOADABLE_H
#define DOWNLOADABLE_H
//
#include <QObject>

#include "FileDownloader.h"
//
class Downloadable : public QObject
{
Q_OBJECT
	FileDownloader*	downloader;
	virtual QString getUrl()=0;
public:
	Downloadable();
	virtual ~Downloadable();
	void baseDownload();
	virtual void download();
private slots:
	virtual void downloadFinished(QString data)=0;
	
signals:
	void downloadDone();
};
#endif
